package com.woniuxy.project115.kaer.platform.service;

import com.woniuxy.project115.kaer.platform.dto.PermissionTypeTreeDto;
import com.woniuxy.project115.kaer.platform.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fyy
 * @since 2025年02月23日
 */
public interface PermissionService extends IService<Permission> {

    List<Permission> getAllPermission()throws Exception;

    List<PermissionTypeTreeDto> getAllChildPermission();
}
